<style scoped>
    .g-header {
        background-color: #fff;
        width: 100%;
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 3;
        _zoom: 1;
    }
    .m-nav {
        background-color: #f1f1f1;
        border-bottom: 1px solid #d5d5d5;
        -webkit-box-shadow: 0 1px 3px 0 rgba(160, 160, 160, 0.2);
        box-shadow: 0 1px 3px 0 rgba(160, 160, 160, 0.2);
    }
    .g-wrap {
        margin: 0 auto;
        width: 100%;
        position: relative;
    }
    .m-nav-list, .m-lead-list, .m-goods-list {
        width: calc(100% - 0.2rem);
        padding: 0 0.1rem;
        display: -webkit-box;
    }
    .m-nav-list li, .m-lead-list li, .m-goods-list li {
        position: relative;
        text-align: center;
        box-flex: 1;
        -webkit-box-flex: 1;
        width: 1px;
    }
    .m-nav-list a {
        display: -webkit-flex;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: #7a7e83;
    }
    .m-nav-list .selected i，.m-nav-list .selected span {
        color: #ef3737;
    }
    .m-nav-list a i {
        display: inline-block;
        font-size: 0.24rem;
        line-height: 0.24rem;
        margin-top: 4px;
        text-align: center;
        padding: 0;
    }
    .ifont {
        margin: 0 3px;
        font-family: "ifont" !important;
        font-size: 16px;
        font-style: normal;
        -webkit-font-smoothing: antialiased;
        -webkit-text-stroke-width: 0.2px;
        -moz-osx-font-smoothing: grayscale;
    }

    .m-nav-list a span, .m-lead-list a span {
        display: inline-block;
        width: 100%;
        text-align: center;
        font-size: 0.13rem;
    }
    .m-simpleHeader {
        position: fixed;
        z-index: 3;
        left: 0;
        right: 0;
        height: 0.38rem;
        line-height: 0.38rem;
        border: 1px solid #D4D4D4;
        background: rgba(240, 240, 240, .8);
        top: 0;
        border-width: 0 0 1px;
        -webkit-box-shadow: 0 1px 3px 0px rgba(160, 160, 160, 0.2);
        -moz-box-shadow: 0 1px 3px 0px rgba(160, 160, 160, 0.2);
        box-shadow: 0 1px 3px 0px rgba(160, 160, 160, 0.2);
        text-align: center;
    }
    .m-simpleHeader-back {
        position: absolute;
        left: 0;
        padding: 0 0.15rem;
        overflow: hidden;
    }
    .m-simpleHeader h1 {
        font-size: 0.16rem;
        color: #222;
    }
    .ico-back {
        display: inline-block;
        width: 0.11rem;
        height: 0.11rem;
        border-style: solid;
        border-width: 2px 0 0 2px;
        color: #8a8a8a;
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
    }







</style>
<template>
    <div class="m-simpleHeader">
        <a href="javascript:;" class="m-simpleHeader-back" data-fn="back" @click='goback'><i class="ico ico-back"></i></a>
        <slot></slot>
        <h1>{{pageName}}</h1>
    </div>
</template>
<script>
    export default{
        props:{
            pageName:{
                type:String,
                default:'众联拼宝'
            }
        },
        data(){
            return{}
        },
        ready () {
        },
        methods: {
            goback: function () {
                history.go(-1);
            }
        }
    }
</script>
